package com.ruoyi.develop.lvDaohuo.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.goodsSalebuyall.domain.GoodsSalebuyall;
import com.ruoyi.develop.lvBuy.domain.LvBuy;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 到货单对象 lv_daohuo
 *
 * @author qh
 * @date 2024-09-05
 */
public class LvDaohuo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String nos;

    /**
     * 订单日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "订单日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date ddDate;

    /**
     * 需求日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date subDate;

    /**
     * 采购类型
     */
    @Excel(name = "采购类型")
    private String type;

    /**
     * 业务类型
     */
    @Excel(name = "业务类型")
    private String ywType;

    /**
     * 税率
     */
    @Excel(name = "税率")
    private String tax;

    /**
     * 客户id
     */
    @Excel(name = "客户id")
    private String customerId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String customerName;

    /**
     * 是否打款
     */
    @Excel(name = "是否打款")
    private String isBuy;

    /**
     * 订单金额
     */
    @Excel(name = "订单金额")
    private BigDecimal money;

    /**
     * 剩余欠款
     */
    @Excel(name = "剩余欠款")
    private BigDecimal shengyu;

    /**
     * 税额
     */
    @Excel(name = "税额")
    private BigDecimal shuie;

    /**
     * 总数量
     */
    @Excel(name = "总数量")
    private BigDecimal counts;

    /**
     * 总吨位
     */
    @Excel(name = "总吨位")
    private BigDecimal dunwei;

    /**
     * 供应商id
     */
    @Excel(name = "供应商id")
    private String supplierId;

    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称")
    private String supplierName;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private String deptId;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptName;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private String userId;

    /**
     * 业务员
     */
    @Excel(name = "业务员")
    private String userName;

    /**
     * 审核状态
     */
    @Excel(name = "审核状态")
    private String state;

    /**
     * 发票文件
     */
    @Excel(name = "发票文件")
    private String fpfile;

    /**
     * 银行行号
     */
    @Excel(name = "银行行号")
    private String bankNo;

    /**
     * 银行账号
     */
    @Excel(name = "银行账号")
    private String accountNo;

    /**
     * 开户行
     */
    @Excel(name = "开户行")
    private String bankName;

    /**
     * 运费
     */
    @Excel(name = "运费")
    private BigDecimal yunfei;

    /**
     * 到货金额
     */
    @Excel(name = "到货金额")
    private BigDecimal daohuoMoney;

    /**
     * 开票总金额
     */
    @Excel(name = "开票总金额")
    private BigDecimal kaipiao;

    /**
     * 剩余开票额
     */
    @Excel(name = "剩余开票额")
    private BigDecimal shengyukp;

    /**
     * 采购id
     */
    @Excel(name = "采购id")
    private String buyId;

    /**
     * 采购单号
     */
    @Excel(name = "采购单号")
    private String buyNo;

    /**
     * 材质单文件
     */
    @Excel(name = "材质单文件")
    private String caizhidan;

    /**
     * 过磅单文件
     */
    @Excel(name = "过磅单文件")
    private String guobangdan;

    /**
     * 直发货回执单
     */
    @Excel(name = "直发货回执单")
    private String zhifahuo;

    /**
     * 送货人
     */
    @Excel(name = "送货人")
    private String songhuoren;

    /**
     * 送货人电话
     */
    @Excel(name = "送货人电话")
    private String songhuotel;

    /**
     * 送货人开户行
     */
    @Excel(name = "送货人开户行")
    private String songkaihuhang;

    /**
     * 送货人账号
     */
    @Excel(name = "送货人账号")
    private String songzhanghao;

    /**
     * 是否打款供应商
     */
    @Excel(name = "是否打款供应商")
    private String isSupplier;

    /** * 是否打款送货人 */
    @Excel(name = "是否打款送货人")
    private String isSong;
    private String songhuoid;

    private String ddSongpeople;
    private String ddSongfile;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date ddDatepeople;

    private String zhijianId;
    private String zhijianName;
    private String shouhuoId;
    private String shourenName;

    private String lvBuycreateUsername;

    /** * 质检证书  */
    private String inspectionReport;

    public String getInspectionReport() {
        return inspectionReport;
    }
    public void setInspectionReport(String inspectionReport) {
        this.inspectionReport = inspectionReport;
    }
    public String getLvBuycreateUsername() {
        return lvBuycreateUsername;
    }

    public void setLvBuycreateUsername(String lvBuycreateUsername) {
        this.lvBuycreateUsername = lvBuycreateUsername;
    }

    public String getZhijianId() {
        return zhijianId;
    }

    public void setZhijianId(String zhijianId) {
        this.zhijianId = zhijianId;
    }

    public String getZhijianName() {
        return zhijianName;
    }

    public void setZhijianName(String zhijianName) {
        this.zhijianName = zhijianName;
    }

    public String getShouhuoId() {
        return shouhuoId;
    }

    public void setShouhuoId(String shouhuoId) {
        this.shouhuoId = shouhuoId;
    }

    public String getShourenName() {
        return shourenName;
    }

    public void setShourenName(String shourenName) {
        this.shourenName = shourenName;
    }

    private List<GoodsSalebuyall> goodsSalebuyallList;
    /**
     * 到货时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date arrivalDate;

    /**
     * 付款申请状态
     */
    private String  payApplyState;

    private String  fahuoType;

    /**
     * 到货单状态
     */
    private String status;

    /**
     * 退货状态
     */
    private String returnStatus;

    public String getReturnStatus() {
        return returnStatus;
    }

    public void setReturnStatus(String returnStatus) {
        this.returnStatus = returnStatus;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFahuoType() {
        return fahuoType;
    }

    public void setFahuoType(String fahuoType) {
        this.fahuoType = fahuoType;
    }

    public List<GoodsSalebuyall> getGoodsSalebuyallList() {
        return goodsSalebuyallList;
    }

    public String getPayApplyState() {
        return payApplyState;
    }

    public void setPayApplyState(String payApplyState) {
        this.payApplyState = payApplyState;
    }

    /**
     * 采购单表
     */
    private LvBuy lvBuy;
    public LvBuy getLvBuy() {
        return lvBuy;
    }
    public void setLvBuy(LvBuy lvBuy) {
        this.lvBuy = lvBuy;
    }
    public Date getArrivalDate() {
        return arrivalDate;
    }

    public void setArrivalDate(Date arrivalDate) {
        this.arrivalDate = arrivalDate;
    }

    public void setGoodsSalebuyallList(List<GoodsSalebuyall> goodsSalebuyallList) {
        this.goodsSalebuyallList = goodsSalebuyallList;
    }

    public String getDdSongpeople() {
        return ddSongpeople;
    }

    public void setDdSongpeople(String ddSongpeople) {
        this.ddSongpeople = ddSongpeople;
    }

    public String getDdSongfile() {
        return ddSongfile;
    }

    public void setDdSongfile(String ddSongfile) {
        this.ddSongfile = ddSongfile;
    }

    public Date getDdDatepeople() {
        return ddDatepeople;
    }

    public void setDdDatepeople(Date ddDatepeople) {
        this.ddDatepeople = ddDatepeople;
    }

    public String getSonghuoid() {
        return songhuoid;
    }

    public void setSonghuoid(String songhuoid) {
        this.songhuoid = songhuoid;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setNos(String nos) {
        this.nos = nos;
    }

    public String getNos() {
        return nos;
    }

    public void setDdDate(Date ddDate) {
        this.ddDate = ddDate;
    }

    public Date getDdDate() {
        return ddDate;
    }

    public void setSubDate(Date subDate) {
        this.subDate = subDate;
    }

    public Date getSubDate() {
        return subDate;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setYwType(String ywType) {
        this.ywType = ywType;
    }

    public String getYwType() {
        return ywType;
    }

    public void setTax(String tax) {
        this.tax = tax;
    }

    public String getTax() {
        return tax;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setIsBuy(String isBuy) {
        this.isBuy = isBuy;
    }

    public String getIsBuy() {
        return isBuy;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setShengyu(BigDecimal shengyu) {
        this.shengyu = shengyu;
    }

    public BigDecimal getShengyu() {
        return shengyu;
    }

    public void setShuie(BigDecimal shuie) {
        this.shuie = shuie;
    }

    public BigDecimal getShuie() {
        return shuie;
    }

    public void setCounts(BigDecimal counts) {
        this.counts = counts;
    }

    public BigDecimal getCounts() {
        return counts;
    }

    public void setDunwei(BigDecimal dunwei) {
        this.dunwei = dunwei;
    }

    public BigDecimal getDunwei() {
        return dunwei;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setFpfile(String fpfile) {
        this.fpfile = fpfile;
    }

    public String getFpfile() {
        return fpfile;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public void setYunfei(BigDecimal yunfei) {
        this.yunfei = yunfei;
    }

    public BigDecimal getYunfei() {
        return yunfei;
    }

    public BigDecimal getDaohuoMoney() {
        return daohuoMoney;
    }

    public void setDaohuoMoney(BigDecimal daohuoMoney) {
        this.daohuoMoney = daohuoMoney;
    }

    public void setKaipiao(BigDecimal kaipiao) {
        this.kaipiao = kaipiao;
    }

    public BigDecimal getKaipiao() {
        return kaipiao;
    }

    public void setShengyukp(BigDecimal shengyukp) {
        this.shengyukp = shengyukp;
    }

    public BigDecimal getShengyukp() {
        return shengyukp;
    }

    public String getBuyId() {
        return buyId;
    }

    public void setBuyId(String buyId) {
        this.buyId = buyId;
    }

    public String getBuyNo() {
        return buyNo;
    }

    public void setBuyNo(String buyNo) {
        this.buyNo = buyNo;
    }

    public void setCaizhidan(String caizhidan) {
        this.caizhidan = caizhidan;
    }

    public String getCaizhidan() {
        return caizhidan;
    }

    public void setGuobangdan(String guobangdan) {
        this.guobangdan = guobangdan;
    }

    public String getGuobangdan() {
        return guobangdan;
    }

    public void setZhifahuo(String zhifahuo) {
        this.zhifahuo = zhifahuo;
    }

    public String getZhifahuo() {
        return zhifahuo;
    }

    public void setSonghuoren(String songhuoren) {
        this.songhuoren = songhuoren;
    }

    public String getSonghuoren() {
        return songhuoren;
    }

    public void setSonghuotel(String songhuotel) {
        this.songhuotel = songhuotel;
    }

    public String getSonghuotel() {
        return songhuotel;
    }

    public void setSongkaihuhang(String songkaihuhang) {
        this.songkaihuhang = songkaihuhang;
    }

    public String getSongkaihuhang() {
        return songkaihuhang;
    }

    public void setSongzhanghao(String songzhanghao) {
        this.songzhanghao = songzhanghao;
    }

    public String getSongzhanghao() {
        return songzhanghao;
    }

    public void setIsSupplier(String isSupplier) {
        this.isSupplier = isSupplier;
    }

    public String getIsSupplier() {
        return isSupplier;
    }

    public void setIsSong(String isSong) {
        this.isSong = isSong;
    }

    public String getIsSong() {
        return isSong;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("nos", getNos())
                .append("ddDate", getDdDate())
                .append("subDate", getSubDate())
                .append("type", getType())
                .append("ywType", getYwType())
                .append("tax", getTax())
                .append("customerId", getCustomerId())
                .append("customerName", getCustomerName())
                .append("isBuy", getIsBuy())
                .append("money", getMoney())
                .append("shengyu", getShengyu())
                .append("shuie", getShuie())
                .append("counts", getCounts())
                .append("dunwei", getDunwei())
                .append("supplierId", getSupplierId())
                .append("supplierName", getSupplierName())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("state", getState())
                .append("fpfile", getFpfile())
                .append("yunfei", getYunfei())
                .append("kaipiao", getKaipiao())
                .append("shengyukp", getShengyukp())
                .append("caizhidan", getCaizhidan())
                .append("guobangdan", getGuobangdan())
                .append("zhifahuo", getZhifahuo())
                .append("songhuoren", getSonghuoren())
                .append("songhuotel", getSonghuotel())
                .append("songkaihuhang", getSongkaihuhang())
                .append("songzhanghao", getSongzhanghao())
                .append("isSupplier", getIsSupplier())
                .append("isSong", getIsSong())
                .toString();
    }
}
